package com.lt.contract.service;

import com.lt.contract.entity.NmErpContractRelation;
import java.util.List;
import java.util.Map;

/**
 * ERP下发合同明细计费方式维护(NmErpContractRelation)表服务接口
 *
 * @author makejava
 * @since 2020-02-18 21:29:42
 */
public interface NmErpContractRelationService {

    List<NmErpContractRelation> getContractImportantList(Map<String,Object> map) throws Exception;

    Long getContractImportantCount (Map<String,Object> map) throws Exception;

   /**
     * 新增数据
     *
     * @param nmErpContractRelation 实例对象
     * @return 实例对象
     */
    int insert(NmErpContractRelation nmErpContractRelation);

    /**
     * 修改数据
     *
     * @param nmErpContractRelation 实例对象
     * @return 实例对象
     */
    int update(NmErpContractRelation nmErpContractRelation) throws Exception;

    /**
     * 通过主键删除数据
     *
     * @param  主键
     * @return 是否成功
     */
    boolean deleteById(NmErpContractRelation nmErpContractRelation ) throws Exception;

}
